.class Lcom/xingbook/huiben/activity/i;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/park/c/a/b;


# instance fields
.field final synthetic a:Lcom/xingbook/huiben/activity/MyHuibenActivity;


# direct methods
.method constructor <init>(Lcom/xingbook/huiben/activity/MyHuibenActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/huiben/activity/i;->a:Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 6

    const/4 v2, 0x0

    if-ltz p1, :cond_0

    iget-object v0, p0, Lcom/xingbook/huiben/activity/i;->a:Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/MyHuibenActivity;->b(Lcom/xingbook/huiben/activity/MyHuibenActivity;)Ljava/util/LinkedHashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I

    move-result v0

    if-ge p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/huiben/activity/i;->a:Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/MyHuibenActivity;->b(Lcom/xingbook/huiben/activity/MyHuibenActivity;)Ljava/util/LinkedHashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v3

    const/4 v0, 0x0

    move v1, v2

    :goto_0
    if-le v1, p1, :cond_1

    move-object v1, v0

    :goto_1
    iget-object v0, p0, Lcom/xingbook/huiben/activity/i;->a:Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/MyHuibenActivity;->c(Lcom/xingbook/huiben/activity/MyHuibenActivity;)Lcom/xingbook/huiben/adapter/b;

    move-result-object v3

    iget-object v0, p0, Lcom/xingbook/huiben/activity/i;->a:Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/MyHuibenActivity;->b(Lcom/xingbook/huiben/activity/MyHuibenActivity;)Ljava/util/LinkedHashMap;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v1}, Lcom/xingbook/park/b/g;->a()I

    move-result v4

    invoke-virtual {v1}, Lcom/xingbook/park/b/g;->b()Ljava/lang/String;

    move-result-object v1

    iget-object v5, p0, Lcom/xingbook/huiben/activity/i;->a:Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-static {v5}, Lcom/xingbook/huiben/activity/MyHuibenActivity;->d(Lcom/xingbook/huiben/activity/MyHuibenActivity;)Lcom/xingbook/park/c/a/a;

    move-result-object v5

    invoke-virtual {v5}, Lcom/xingbook/park/c/a/a;->getSelectedTag()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v0, v4, v1, v5}, Lcom/xingbook/huiben/adapter/b;->a(Ljava/util/ArrayList;ILjava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/huiben/activity/i;->a:Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-static {v0}, Lcom/xingbook/huiben/activity/MyHuibenActivity;->e(Lcom/xingbook/huiben/activity/MyHuibenActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setSelection(I)V

    :cond_0
    return-void

    :cond_1
    if-ne v1, p1, :cond_2

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/b/g;

    move-object v1, v0

    goto :goto_1

    :cond_2
    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method
